
<% var html={ %>
<blockquote class="layui-elem-quote zq-table-head">
    app设备用户
</blockquote>
                <div class='row zq-row'>
                        <form name="wnAppUser_form" id="wnAppUser_form" class='form-inline'>
                            <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='用户昵称'  >用户昵称：</label>
 <input  onkeyup='wnAppUserConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='nickName' name='nickName' placeholder=''>
 </div>
 <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='电话号码'  >电话号码：</label>
 <input  onkeyup='wnAppUserConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='phoneNumber' name='phoneNumber' placeholder=''>
 </div>
 <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='用户密码'  >用户密码：</label>
 <input  onkeyup='wnAppUserConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='password' name='password' placeholder=''>
 </div>
 <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='是否删除' >是否删除：</label>
 <select class="form-control" id="isDel" name="isDel">
 <option  value="">请选择...</option>
 	<option  value="0">否</option>
 	<option  value="1">是</option>
 </select>
 </div>
 <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='渠道来源' >渠道来源：</label>
 <select class="form-control" id="sourceChannel" name="sourceChannel">
 <option  value="">请选择...</option>
 	<option  value="app">app注册</option>
 	<option  value="console">后台录入</option>
 </select>
 </div>
 <div class='form-group col-md-4 col-xs-6' style='margin-top: 10px;'>
 <label title='用户类型' >用户类型：</label>
 <select class="form-control" id="userType" name="userType">
 <option  value="">请选择...</option>
 	<option  value="1">app用户</option>
 	<option  value="2">农机用户</option>
 </select>
 </div>
 
                            <div align="center" class="form-group col-md-12 zq-table-query">
                                <button type='button' class='btn btn-default' id='wnAppUserQuerySearch'>查询</button>
                                <button type='button' class='btn btn-default' id='wnAppUserReset'>重置</button>
                            </div>
                        </form>
                </div>
                 <div id="wnAppUserToolbar" class="btn-group">
                              <button type="button" class="btn btn-default" onclick="consoleOpenWindow('wnAppUser','${ctxPath}/console/wn_app_user/add','新增')">
                                  <i class="glyphicon glyphicon-plus"></i>
                              </button>
                              <button type="button" class="btn btn-default" onclick='wnAppUserConsoleGrid.delete("id","${ctxPath}/console/wn_app_user/delete");'>
                                  <i class="glyphicon glyphicon-trash"></i>
                              </button>
                 </div>
                     <div class='row zq-row'>
                              <div class='col-md-12'>
                                  <table id="wnAppUser" data-toggle="table"
                                         data-url="${ctxPath}/console/wn_app_user/json"
                                         data-pagination="true"
                                         data-query-params="wnAppUserLoadParam"
                                         method="post"
                                         data-side-pagination="server"
                                         data-show-refresh="true"
                                         data-show-toggle="true"
                                         data-pagination-loop="false"
                                         data-show-columns="true"
                                         data-toolbar="#wnAppUserToolbar">
                                      <thead>
                                      <tr>
                                           <th data-checkbox="true"></th>
                                            <th data-field='id' data-visible='false'>ID</th>
  <th data-sortable='true' data-field='nickName'>用户昵称</th>
  <th data-sortable='true' data-field='phoneNumber'>电话号码</th>
  <th data-field='isDel' data-sortable='true' data-formatter='wnAppUseris_delFormatter'>是否删除</th>
  <th data-field='sourceChannel' data-sortable='true' data-formatter='wnAppUsersource_channelFormatter'>渠道来源</th>
  <th data-field='userType' data-sortable='true' data-formatter='wnAppUseruser_tyepFormatter'>用户类型</th>
  <th data-field='id' data-formatter='wnAppUserTableOperate'>操作</th>
 
                                      </tr>
                                      </thead>
                                  </table>
                              </div>
                     </div>
<% }; %>
<% var js={ %>
<script type='text/javascript' src='/view/console/wnAppUser/wnAppUserTable.js'></script>
<% }; %>

<% layout("/view/console/skins/skin_2/layout.html", {js:js,html:html}) {} %>